package oa.service;

import java.util.Collection;


import oa.domain.forum.Reply;
import oa.domain.forum.Topic;
import oa.domain.page.PageBean;
import oa.util.HQLHelper;

public interface ReplyService {

	
	public void saveReply(Reply reply);
	
	public Reply getReplyById(Long id);
	
	public void upateReply(Reply reply);
	
	public void deleteReply(Long id);

	public Collection<Reply> getReplyByTopic(Topic topic);

	public PageBean getPageBean(int currentPage, Topic topic);
	
	public PageBean getPageBean(HQLHelper hh, int currentPage);
}
